from PyQt5.QtWidgets import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5 import QtWidgets,QtGui,QtCore
import sys

class MainWindow(QWidget):
    def __init__(self):
        QtGui, QWidget.__init__(self)
        self.lat = ''  # 纬度
        self.lng = ''
        self.setGeometry(400,200,600,500)
        self.setWindowTitle("chat")

if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    window = MainWindow()
    window.show()
    app.exec()